﻿using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
using Microsoft.AspNet.SignalR;

[assembly: OwinStartup(typeof(Leo.Blog.Startup))]

namespace Leo.Blog
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            // 有关如何配置应用程序的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkID=316888
            //// Any connection or hub wire up and configuration should go here
            //默认集线器链接地址是"/signalr",使用默认配置
            app.MapSignalR();
            //指定url的服务器代码
            //app.MapSignalR("/signalr", new HubConfiguration());
        }
    }
}
